package com.jinyu.admin.service.sys;

import com.jinyu.dao.entity.sys.SysDictType;

import java.util.List;

/**
 * @Author: yangli
 * @Despriction:
 * @Package: com.jinyu.admin.service.sys
 * @Date:Created in 2022/5/7 13:30
 * @Modify By:
 */
public interface SysDictTypeService {

    /**
     * 新增
     */
    public int insert(SysDictType sysDictType);

    /**
     * 删除
     */
    public int delete(long id);

    /**
     * 更新
     */
    public int update(SysDictType sysDictType);

    /**
     * 根据主键 id 查询
     */
    public SysDictType selectByOne(long id);

    /**
     * 分页查询
     */
    public List<SysDictType> pageList(int offset, int pagesize);

}
